<?php
    class Admin_Form_ValidateNewsComment
    {
        
        
        public function validNewsCommentContent($news_comment_content){
            $validate = new Zend_Validate_StringLength(10, 3000);
            if($validate->isValid($news_comment_content)){
                return true;
            }
            else{
                return false;
            }
        }
        public function validNewsCommentSearch($keyword)
        {
            $validation = new Zend_Validate_NotEmpty();
            if($validation->isValid($keyword))
            {
                return true;
            }
            else
            {
                return false;
            }
        }
    }
